package com.application.util;

import org.omg.CORBA.PUBLIC_MEMBER;

// 这里用来存放  redis key 的常量值
public class RedisConstant {
    // 这个就是  保存key的前缀
    public static final String USER_LOGIN_KEY = "user:token:";
    // 生存时间
    public static final Long LOGIN_USER_TTL = 30L;

    // 社团key
    public static final String COMMUNITY_KEY = "community:id:";

    public static final String LOCK_COMMUNITY_KEY = "lock:community:";

    public static final String ACTIVITY_KEY = "activity:id:";

    public static final String LOCK_ACTIVITY_KEY = "lock:activity:";

    public static final String LOCK_USER_KEY = "lock:user:";

    public static final String ACTIVITY_NUMS_KEY = "activity:nums:";

    public static final String ACTIVITY_NUMS_SET_KEY = "activity:nums:set:";
}
